home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000395_news@columbia.edu _Thu Jun 22 04:39:40 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id EAA05342
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 22 Jun 2000 04:39:39 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id EAA20192
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 22 Jun 2000 04:39:38 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id EAA09252
  10.     for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Jun 2000 04:20:43 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: bernd@lipid.fki.dtu.dk (Bernd Dammann)
  13. Subject: Re: Serial console: Ctrl-C doesn't work
  14. Date: 22 Jun 2000 08:12:26 GMT
  15. Organization: The Technical University of Denmark
  16. Message-ID: <8ishpa$15v6$1@news.net.uni-c.dk>
  17. To: kermit.misc@columbia.edu
  18.  
  19. Frank da Cruz (fdc@watsun.cc.columbia.edu) wrote:
  20. : In article <8i7c8n$11ro$1@news.net.uni-c.dk>,
  21. : Bernd Dammann <bernd@lipid.fki.dtu.dk> wrote:
  22. : : I've set up a diskless and headless machine with a serial console that
  23. : : I access from the server through a null-modem cable (using kermit as
  24. : : terminal emulator).  Everything works fine, except for one thing:
  25. : : 
  26. : : Ctrl-C (intr) and Ctrl-Z (susp) don't work!  All other Ctrl- sequences
  27. : : like Ctrl-U (kill) and Ctrl-W (werase) do work.
  28. : : 
  29. : : Where is the problem?  The console settings (see below), or the
  30. : : terminal emulation?  I've tried several terminal emulation programs
  31. : : (i.e. kermit, minicom, ...), but the problem is the same.
  32. : : 
  33. : So it's evidently something with your Linux configuration, having nothing
  34. : to do with the terminal emulator.
  35.  
  36. You are right, I found out what went wrong:  
  37.  
  38. Linux has the following devices
  39. crw-------   1 root     root       5,   1 Jun 16 16:32 /dev/console
  40. crw-------   1 root     tty        4,  64 Jun 14 17:15 /dev/ttyS0
  41.  
  42. and I had set up getty on /dev/console (which worked for me before on
  43. an older Linux system (kernel < 2.0):
  44.  
  45. con:2345:respawn:/sbin/getty console DT38400 vt100
  46.  
  47. The right thing to do is:
  48.  
  49. con:2345:respawn:/sbin/getty ttyS0 DT38400 vt100
  50.  
  51. since /dev/console is a device for its own in newer Linux systems.
  52.  
  53. That solved the problem.
  54.  
  55. Bernd
  56. --
  57. # Bernd Dammann          <bernd@fki.dtu.dk> | "Why stop now,
  58. # Department of Physical Chemistry          |      just when I am hating it?"
  59. # The Technical University of Denmark       |---------------------------------
  60. # Building 206                              | phone: (+45) 45 25 24 81
  61. # DK-2800 Lyngby, Denmark                   | http://www.fki.dtu.dk/~bernd/